package com.kj.gitwe.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.Date;
import java.util.List;

@Data
@ToString
@AllArgsConstructor
@NoArgsConstructor
@TableName("order")
public class Order {

    @TableId(type = IdType.AUTO)
    private Integer orderId;

    private Integer userId;

    private Double price;

    private Date orderDate;

    private Byte payment;

    private User user;

}
